package com.gmp.rooms.service;

import java.util.List;

import com.gmp.rooms.domain.EquipmentInspection;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 设备巡检记录Service接口
 *
 * @author Koi
 * @date 2025-08-02
 */
public interface IEquipmentInspectionService extends IService<EquipmentInspection> {
    /**
     * 查询设备巡检记录
     *
     * @param id 设备巡检记录主键
     * @return 设备巡检记录
     */
    public EquipmentInspection selectEquipmentInspectionById(String id);

    /**
     * 查询设备巡检记录列表
     *
     * @param equipmentInspection 设备巡检记录
     * @return 设备巡检记录集合
     */
    public List<EquipmentInspection> selectEquipmentInspectionList(EquipmentInspection equipmentInspection);

    /**
     * 新增设备巡检记录
     *
     * @param equipmentInspection 设备巡检记录
     * @return 结果
     */
    public boolean insertEquipmentInspection(EquipmentInspection equipmentInspection);

    /**
     * 修改设备巡检记录
     *
     * @param equipmentInspection 设备巡检记录
     * @return 结果
     */
    public int updateEquipmentInspection(EquipmentInspection equipmentInspection);

    /**
     * 批量删除设备巡检记录
     *
     * @param ids 需要删除的设备巡检记录主键集合
     * @return 结果
     */
    public int deleteEquipmentInspectionByIds(String[] ids);

    /**
     * 删除设备巡检记录信息
     *
     * @param id 设备巡检记录主键
     * @return 结果
     */
    public int deleteEquipmentInspectionById(String id);


}
